" Language: Markdown (markdown)
" Author: Takahiro Yoshihara
" License: The MIT License

function! funky#ft#markdown#filters()
    let filters = [
                \ { 'pattern': '\m\C^#\{1,6}[\t ]\+\S\+',
                \   'formatter': [] },
                \ { 'pattern': '\m\C^[-=]\{3,}$',
                \   'formatter': [],
                \   'offset': -1 }
                \ ]
    return filters
endfunction

function! funky#ft#markdown#post_extract_hook(list)
    return filter(copy(a:list), "v:val !~# '^[\\t ]*#:\\d\\+:\\d\\+$'")
endfunction
